netcore3.0 IConfiguration配置源码解析(一)
配置的实现在以Microsoft.Extensions.Configuration开头的Nuget包中,引入对应的nuget包就可以使用配置功能 Github地址:https://github.co ...
配置的实现在以Microsoft.Extensions.Configuration开头的Nuget包中,引入对应的nuget包就可以使用配置功能 Github地址:https://github.co ...
我们先看下IApplicationBuilder接口的扩展方法UseMvc 先判断是否注册了Mvc的相关服务 再判断MvcOptions的属性EnableEndpointRoutin ...
先看下如下的扩展方法 当我们调用IHostBuilder的扩展方法ConfigureWebHost时候,系统创建了GenericWebHostBuilder类,并注册GenericWe ...